package start;

import javax.swing.JFrame;
import javax.swing.JLabel;

public class HelloWorldSwing {

	private static void createAndShowGUI() {
		JFrame frame = new JFrame("HelloWorldSwing");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

		JLabel label = new JLabel("Hello World");
		frame.getContentPane().add(label);

		frame.pack();
		frame.setVisible(true);
	}

	public static void main(String[] args) {

		javax.swing.SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				createAndShowGUI();
			}
		});

		javax.swing.SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				Lines ex = new Lines();
				ex.setVisible(true);
			}
		});

		javax.swing.SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				Rectangles rectangle = new Rectangles();
				rectangle.setVisible(true);
			}
		});

		javax.swing.SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				Gradients gradient = new Gradients();
				gradient.setVisible(true);
			}
		});

	}
}
